
price_list={
    "金士顿U盘8G":40,
    "胜创16G7F卡":50,
    "读卡器":8,
    "网线2米":5
}
num_list = {
    "金士顿U盘8G":1,
    "胜创16G7F卡":1,
    "读卡器":1,
    "网线2米":1
}

print('............................................')
print("单号: DH202301010011")
print("时间: 2023-01-01 08:56:15")
print('............................................')
print("名称           数量        单价        金额")
print("金士顿U盘8G","    ",num_list.get("金士顿U盘8G"),"       ",price_list.get("金士顿U盘8G"), "        ",num_list.get("金士顿U盘8G")*price_list.get("金士顿U盘8G"))
print("胜创16G7F卡","    ",num_list.get("胜创16G7F卡"),"       ",price_list.get("胜创16G7F卡"), "        ",num_list.get("胜创16G7F卡")*price_list.get("胜创16G7F卡"))
print("读卡器","         ",num_list.get("读卡器"),"       ",price_list.get("读卡器"), "         ",num_list.get("读卡器")*price_list.get("读卡器"))
print("网线2米","        ",num_list.get("网线2米"),"       ",price_list.get("网线2米"), "         ",num_list.get("网线2米")*price_list.get("网线2米"))
print('............................................')
print("总数：4","       ","总额:103")
print("折后总额：103", "      ","找零：0")
print("收银：管理员")
print('............................................')
